package cz.none.bezbarier.web.security;

import org.springframework.security.authentication.dao.SaltSource;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

import cz.none.bezbarier.web.util.Constants;

@Service
public class StaticSaltSource implements SaltSource {


	@Override
	public Object getSalt(UserDetails user) {
		return Constants.Common.SALT;
	}

}
